﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

// std headers

// qt headers
#include <QString>

// gcmp headers

// custom headers
#include "ResponseHandlerBase.h"
#include "GjwResponseHandler.h"
#include "IPagedData.h"
#include "ILegend.h"


namespace gmepgcs
{
    class GCS_SERVICE_EXPORTS PagedLegendsResponseHandler : public GjwResponseHandler<IPagedData<std::vector<std::shared_ptr<ILegend>>>>
    {
    public:
        explicit PagedLegendsResponseHandler();
        virtual ~PagedLegendsResponseHandler();

    protected:
        virtual void HandleData(const QJsonValue &data) override;

    private:
        QString m_gjwStaticEndPoint;
    };
}